package com.nbcio.cd.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 权限类型枚举
 *
 * @author nbacheng
 */
@Getter
@AllArgsConstructor
public enum PermissionTypeEnum {

    /**
     * 读取权限
     */
    READ("read", "读取"),

    /**
     * 写入权限
     */
    WRITE("write", "写入"),

    /**
     * 删除权限
     */
    DELETE("delete", "删除"),

    /**
     * 分享权限
     */
    SHARE("share", "分享"),

    /**
     * 管理权限
     */
    MANAGE("manage", "管理");

    private final String code;
    private final String info;
}
